<?php



class sfActualiteMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.sfActualiteMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('sf_actualite');
		$tMap->setPhpName('sfActualite');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addForeignKey('GROUP_ID', 'GroupId', 'int', CreoleTypes::INTEGER, 'sf_guard_group', 'ID', true, null);

		$tMap->addColumn('TITRE', 'Titre', 'string', CreoleTypes::VARCHAR, false, 255);

		$tMap->addColumn('TEXTE', 'Texte', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('CREATED_AT', 'CreatedAt', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('FILE_PATH', 'FilePath', 'string', CreoleTypes::VARCHAR, false, 255);

		$tMap->addColumn('ENLIGNE', 'Enligne', 'boolean', CreoleTypes::BOOLEAN, true, null);

		$tMap->addColumn('PAGE_ACCUEIL', 'PageAccueil', 'boolean', CreoleTypes::BOOLEAN, true, null);

	} 
} 